local t = Def.ActorFrame {};
t[#t+1] = LoadActor("_chipattract")..{
	InitCommand=function(self) self:Center():FullScreen():play() end;
};
t[#t+1] = LoadActor("_chiptheme")..{
	OnCommand=function(self) self:play() end;
};

t[#t+1] = Def.ActorFrame {
	InitCommand=function(self) self:sleep(12.6):diffusealpha(0) end;
	LoadActor("_chipcircle")..{
		InitCommand=function(self) self:Center():zoom(0) end;
		OnCommand=function(self) self:sleep(1.55):linear(0.345):addrotationz(360):zoom(1.2):queuecommand("Tick") end;
		TickCommand=function(self) self:sleep(0.345):linear(0.1):addrotationz(15):queuecommand("Tick") end;
	};
};
t[#t+1] = Def.ActorFrame {
	InitCommand=function(self) self:diffusealpha(0):sleep(12.6):diffusealpha(1):sleep(1.88):diffusealpha(0) end;
	LoadActor("_chipcircle")..{
		InitCommand=function(self) self:Center():zoom(1.2) end;
		OnCommand=function(self) self:sleep(12.6):queuecommand("TickFast") end;
		TickFastCommand=function(self) self:sleep(0.1725):linear(0.05):addrotationz(15):queuecommand("TickFast") end;
	};
};
t[#t+1] = Def.ActorFrame {
	InitCommand=function(self) self:diffusealpha(0):sleep(14.48):diffusealpha(1) end;
	LoadActor("_chipcircle")..{
		InitCommand=function(self) self:Center():zoom(1.2) end;
		OnCommand=function(self) self:sleep(14.05):queuecommand("TickFaster") end;
		TickFasterCommand=function(self) self:sleep(0.08625):linear(0.025):addrotationz(15):queuecommand("TickFaster") end;
	};
};
t[#t+1] = Def.ActorFrame {
	InitCommand=function(self) self:diffusealpha(0):sleep(14.48):diffusealpha(1) end;
	LoadActor("_chipcircle")..{
		InitCommand=function(self) self:Center():zoom(1.2) end;
		OnCommand=function(self) self:sleep(14.05):queuecommand("TickFaster") end;
		TickFasterCommand=function(self) self:sleep(0.08625):linear(0.025):addrotationz(15):queuecommand("TickFaster") end;
	};
};
-- end bg
-- start fg
t[#t+1] = LoadActor("_one")..{
	InitCommand=function(self) self:xy(_screen.cx,SCREEN_TOP+50):zoom(0.8):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(1.895):diffusealpha(1):addx(700):decelerate(1):addx(-700):sleep(2.1):accelerate(0.5):addx(-700) end;
};
t[#t+1] = LoadActor("_two")..{
	InitCommand=function(self) self:xy(_screen.cx,SCREEN_BOTTOM-50):zoom(0.8):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(1.895):diffusealpha(1):addx(-700):decelerate(1):addx(700):sleep(2.1):accelerate(0.5):addx(700) end;
};
t[#t+1] = LoadActor("_three")..{
	InitCommand=function(self) self:xy(_screen.cx,SCREEN_TOP-100):zoom(0.8):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(5.490):diffusealpha(1):decelerate(1):y(_screen.cy):sleep(2.1):accelerate(0.5):y(SCREEN_BOTTOM+100) end;
};
t[#t+1] = LoadActor("_four")..{
	InitCommand=function(self) self:xy(_screen.cx,SCREEN_BOTTOM+100):zoom(0.8):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(9.07):diffusealpha(1):decelerate(1):y(_screen.cy):sleep(2.1):accelerate(0.5):y(SCREEN_TOP-100) end;
};
t[#t+1] = LoadActor("_five")..{
	InitCommand=function(self) self:Center():zoom(0):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(12.635):diffusealpha(1):decelerate(1):zoom(0.8) end;
};
t[#t+1] = Def.Quad {
	InitCommand=function(self) self:Center():FullScreen():diffuse(color("#000000")):diffusealpha(1)	end;
	OnCommand=function(self) self:linear(1):diffusealpha(0):sleep(14.65):diffusealpha(1) end;
};
t[#t+1] = Def.Quad {
	InitCommand=function(self) self:Center():FullScreen():diffuse(color("#FFFFFF")):diffusealpha(0)	end;
	OnCommand=function(self) self:sleep(15.65):diffusealpha(1):linear(0.5):diffusealpha(0) end;
};
t[#t+1] = LoadActor("_endtext")..{
	InitCommand=function(self) self:Center():diffusealpha(0) end;
	OnCommand=function(self) self:sleep(15.65):diffusealpha(1) end;
};
t[#t+1] = LoadActor("_darkcircle")..{
	InitCommand=function(self) self:Center():zoom(1.2):diffusealpha(0) end;
	OnCommand=function(self) self:sleep(15.65):diffusealpha(1):linear(0.5):addrotationz(1080):zoom(6) end;
};
return t;